package com.wjp.villagemp.service.impl.manage;

import com.wjp.villagemp.mapper.manage.ScoreMapper;
import com.wjp.villagemp.service.manage.ResultAnalyticService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author: Jacob
 * @Date: 2019/1/14 12:22
 * @Description:
 */
@Service
public class ResultAnalyticServiceImpl implements ResultAnalyticService {
    @Autowired
    private ScoreMapper scoreMapper;

    @Override
    public List<Map<String, Object>> resultList(int pageSize, int start, String sortField, String direction) {
        return scoreMapper.resultList(pageSize, start, sortField, direction);
    }
}
